package com.taobao.txc.resourcemanager.e;

import com.taobao.txc.common.LoggerInit;
import com.taobao.txc.common.LoggerWrap;
import com.taobao.txc.common.c.B;
import com.taobao.txc.common.j;
import com.taobao.txc.parser.struct.TxcLine;
import com.taobao.txc.parser.struct.TxcTable;
import java.util.List;

public class f
  extends a
{
  private static final LoggerWrap a = LoggerInit.logger;
  
  public f(com.taobao.txc.parser.struct.c paramc)
  {
    super(paramc);
  }
  
  public void a(com.taobao.txc.resourcemanager.b.a.a parama)
  {
    String str1 = a().d();
    if ((str1 == null) && (b().b() != c().b())) {
      throw new com.taobao.txc.common.b.c(B.c.a(), "line num changed.");
    }
    com.taobao.txc.resourcemanager.a.d.a locala = new com.taobao.txc.resourcemanager.a.d.a(parama);
    for (int i = 0; i < b().b(); i++)
    {
      long l1 = System.currentTimeMillis();
      try
      {
        if (str1 == null) {
          locala.a((TxcLine)b().c().get(i), b().e());
        } else {
          locala.a((TxcLine)b().c().get(i), b().e(), str1);
        }
      }
      finally
      {
        String str2;
        long l2;
        String str3 = a().j();
        long l3 = a().k();
        a.info(String.format("[%d:%d] [rule:%s] [%s] cost %d ms", new Object[] { Long.valueOf(j.a(str3)), Long.valueOf(l3), str1, b().c().get(i), Long.valueOf(System.currentTimeMillis() - l1) }));
      }
    }
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.taobao.txc.resourcemanager.e.f
 * JD-Core Version:    0.7.0.1
 */